<script type="text/ng-template" id="template-blog-detail.html">
    <p>
      <a class="btn btn-default btn-sm" href="#/publish"><i class="fa fa-angle-left"></i> 返回</a> 
       文章详情
    </p>
    <h3 class="text-center">
      {{ blog.title }}
    </h3>
    <p class="text-center text-muted">
      作者： <strong>{{ blog.author }} </strong>
      <span style="margin-left: 20px; margin-right: 20px;">发布时间： {{ blog.updatedat }}</span>
      <a class="btn btn-primary btn-xs" href="#/blog/edit/{{blog.id}}"><i class="fa fa-pencil"></i> 编辑</a>
      <btn class="btn btn-danger btn-xs" ng-click="deleteArticle(blog.id)"><i class="fa fa-minus"></i> 删除</btn>
    </p>

    <hr>
    
    <div id="blog-detail-content">
      
    </div>
</script>